package com.llg.mapper;

import com.llg.pojo.ReceiveSpec;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ReceiveSpecMapper extends Mapper<ReceiveSpec> {

    @Select("select * from t_receive_spec where id not in (" +
            "select rid from t_led_receive where lid = #{rid}" +
            ");")
    List<ReceiveSpec> findByLid(@Param("rid") int rid);
}
